package com.zjhn.ds.domain.entity.jlw;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.entity.jlw
 * @Author: sxt
 * @CreateTime: 2023-09-05  10:03
 * @Description: 挡车工
 * @Version: 1.0
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("jlw.jlw_spinner")
public class Spinner {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 员工id
     */
    @TableField("operate_id")
    private String operateId;

    /**
     * 车间id
     */
    @TableField("workshop_id")
    private String workshopId;

    /**
     * 创建人
     */
    @TableField(fill = FieldFill.INSERT, value = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT, value = "create_time")
    private Date createTime;

    /**
     * 逻辑删除
     */
    private Integer deleted;

    /**
     * 租户id
     */
    @TableField("TenantId")
    private String tenantId;
}
